This driver is built on Ubuntu 17.10 kernel 4.15.0-33-generic X64

This driver is bulit based on V4L2, you can reference "Video for Linux Two API Specification" to control our device.

The module dependency of our driver, you can reference Chapter 2 in "Linux Software Programming Guide(SC5C0).pdf".

If you have error message when loading the module(dmesg see information), you may lack some dependent modules, please reference Chapter 2 of our document.

If you still have any questions, please dump the error message(use dmesg) for us.

####################
Module Installation#
####################
Step1. Copy below file to /lib/firmware/
	

	MZ*



Step2. Copy LXV4L2D_MZ0380.ko to your module directory.

cp LXV4L2D_MZ0380.ko /lib/modules/`uname -r`/

Step3. Add LXV4L2D_MZ0380.ko to modules.dep.

depmod -a

Step4. Load LXV4L2D_MZ0380.ko module.

modprobe LXV4L2D_MZ0380

Note: after driver loading, please use dmesg to check if 

FIRMWARE VERSION: xxx is the same as BOARD VERSION:xxx
Otherwise, reboot


If invalid module format error occurs, try to use Vf parameter.

modprobe -f LXV4L2D_MZ0380


######################
Module Uninstallation#
######################

modprobe -r LXV4L2D_MZ0380




######################
NOTE: MZ0380 (SC5C0 or SC3C0)
1)enlarge memory allocation at system boot for 32 bit OS,

  for Fedora, update menu.lst, add "vmalloc=512M" after "quiet"

  for Ubuntu 11.10
	find "/etc/default/grub" and edit the line "GRUB_CMDLINE_LINUX_DEFAULT". Now, add the option:
	vmalloc=512MB
	GRUB_CMDLINE_LINUX_DEFAULT="quiet splash vmalloc=512MB"
	sudo update-grub

2)SC3C0 preview only support 720*480/576